<?php


namespace App\Domain;

use App\Model\OrderDetail as OrderDetailModel;

class OrderDetail
{
    public function getOrderDetailInfoByOid($order_id)
    {
        $model = new OrderDetailModel();
        return $model->getOrderDetailInfoByOid($order_id);
    }
    public function insertOrderDetailInfo($order_id, $good_id, $goods_num, $goods_money)
    {
        $model = new OrderDetailModel();
        return $model-> insertOrderDetailInfo($order_id, $good_id, $goods_num, $goods_money);
    }
}